<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<link rel="stylesheet" href="__CONTROL_TPL__/css/goods_details.css" />
	<title>后盾网学员项目-仿哇塞网</title>
</head>
<body>
<!-- 公用头部开始 -->
<include file="__TPL__/Common/head"/>
<!-- 用于ajax发送的地址 -->
<script type="text/javascript">
	var kucun_url=APP+'&c=Details&ajax_get_inventory&gid={$details.gid}';//获得组合规格的库存量
	var add_cart_url=APP+'&c=Details&ajax_add_cart&gid={$details.gid}';
</script>
<script type="text/javascript" src="__CONTROL_TPL__/js/goods_details.js"></script>
<!-- 公用头部结束 -->
<div id="goodsWarp" class="width1100 fixed">
	<div class="conL fl">
		<div class="conLInfo">
			<h2>[属于:<a href="" style="font-size:20px;color:#229CA0" target="_blank" class="detailsCate">{$type}</a>]</h2>
			<ul class="infoList">
				<li>
					<span>所在地：</span><span style="color:#5C5C5C" class="place">{$details.gplace}</span>
				</li>
				<li>
					<span>好评率：</span><span class="radio">{$radio}</span>%
				</li>
				<li>
					<span>上架时间：</span>{$details.gadd_time|hd_date}
				</li>
			</ul>
			<div class="contact">
				<dl>
					<dt>
						<img src="__CONTROL_TPL__/images/contact.gif" alt="和我联系" style="width:60px;height:60px;" />
					</dt>
					<dd>
						<p style="margin-bottom:5px">店小二：<span style="color:#229CA0">admin</span></p>
						<a target="_blank" href="http://sighttp.qq.com/authd?IDKEY=3a0b71c18e0b66cdeb7aaaf40763e0b2df31d83c1ef7f28a"><img border="0" src="http://wpa.qq.com/imgd?IDKEY=3a0b71c18e0b66cdeb7aaaf40763e0b2df31d83c1ef7f28a&pic=51" alt="点击这里给我发消息" title="点击这里给我发消息"></a>
					</dd>
				</dl>

				<div class="clear"></div>
			</div>
			<div class="story">
				<p><img src="__CONTROL_TPL__/images/brand_story.gif" alt="一句话介绍" />{$details.done_sentence}</p>
			</div>
		</div>
		<!-- <div class="conLCate">
			<h3 class="color5c">商品分类</h3>
			<ul class="cateList">
				全部商品就不用循环了
				<li class="cate1f">
					<span>104</span>
					<a href="{|U:'Category/top_list'}" target="_blank">全部商品</a>
				</li>
		
				<循环>
				<li class="cate1f">
					<span>14</span>
					<a href="">女装</a>
				</li>
				<li class="cate2f">
					<span>3</span>
					<a href="">裙子</a>
				</li>
				<li class="cate2f">
					<span>3</span>
					<a href="">裙子</a>
				</li>
				<li class="cate2f">
					<span>3</span>
					<a href="">裙子</a>
				</li>
				<li class="cate2f">
					<span>3</span>
					<a href="">裙子</a>
				</li>
				<li class="cate2f">
					<span>3</span>
					<a href="">裙子</a>
				</li>
				<li class="cate2f">
					<span>3</span>
					<a href="">裙子</a>
				</li>
				</循环>
		
				<循环>
				<li class="cate1f">
					<span>14</span>
					<a href="">男装</a>
				</li>
				<li class="cate2f">
					<span>3</span>
					<a href="">裙子</a>
				</li>
				<li class="cate2f">
					<span>3</span>
					<a href="">裙子</a>
				</li>
				<li class="cate2f">
					<span>3</span>
					<a href="">裙子</a>
				</li>
				<li class="cate2f">
					<span>3</span>
					<a href="">裙子</a>
				</li>
				<li class="cate2f">
					<span>3</span>
					<a href="">裙子</a>
				</li>
				<li class="cate2f">
					<span>3</span>
					<a href="">裙子</a>
				</li>
				</循环>
			</ul>
		</div> 	
		<div class="conLHot">
			<div class="conLHotNav ed_clear">
				<a href="javascript:" id="ranking1" class="size14 selected">最爱排行</a>
				<a href="javascript:" id="ranking2" class="size14">热销排行</a>
			</div>
			<ul class="conLHotList ed_clear" style="display:block;">
				<li>
					<dl class="ed_clear">
						<dt>
							<a href="" target="_blank">
								<img src="__CONTROL_TPL__/images/wsmall_201307261111225872.png" alt="图像占位"/>
							</a>
						</dt>
						<dd>
							<a href="" target="_blank">teelocker 纯棉色彩T恤7...</a>
							<p>￥<span>468.00</span></p>
						</dd>
					</dl>
				</li>
				<li>
					<dl class="ed_clear">
						<dt>
							<a href="" target="_blank">
								<img src="__CONTROL_TPL__/images/wsmall_201307261111225872.png" alt="图像占位"/>
							</a>
						</dt>
						<dd>
							<a href="" target="_blank">teelocker 纯棉色彩T恤7...</a>
							<p>￥<span>468.00</span></p>
						</dd>
					</dl>
				</li>
				<li>
					<dl class="ed_clear">
						<dt>
							<a href="" target="_blank">
								<img src="__CONTROL_TPL__/images/wsmall_201307261111225872.png" alt="图像占位"/>
							</a>
						</dt>
						<dd>
							<a href="" target="_blank">teelocker 纯棉色彩T恤7...</a>
							<p>￥<span>468.00</span></p>
						</dd>
					</dl>
				</li>
				<li>
					<dl class="ed_clear">
						<dt>
							<a href="" target="_blank">
								<img src="__CONTROL_TPL__/images/wsmall_201307261111225872.png" alt="图像占位"/>
							</a>
						</dt>
						<dd>
							<a href="" target="_blank">teelocker 纯棉色彩T恤7...</a>
							<p>￥<span>468.00</span></p>
						</dd>
					</dl>
				</li>
				<li>
					<dl class="ed_clear">
						<dt>
							<a href="" target="_blank">
								<img src="__CONTROL_TPL__/images/wsmall_201307261111225872.png" alt="图像占位"/>
							</a>
						</dt>
						<dd>
							<a href="" target="_blank">teelocker 纯棉色彩T恤7...</a>
							<p>￥<span>468.00</span></p>
						</dd>
					</dl>
				</li>
			</ul>
			<ul class="conLHotList ed_clear" style="display:none;">
				<li>
					<dl class="ed_clear">
						<dt>
							<a href="" target="_blank">
								<img src="__CONTROL_TPL__/images/wsmall_201210301054071008.jpg" alt="图像占位"/>
							</a>
						</dt>
						<dd>
							<a href="" target="_blank">teelocker 纯棉色彩T恤7...</a>
							<p>￥<span>468.00</span></p>
						</dd>
					</dl>
				</li>
				<li>
					<dl class="ed_clear">
						<dt>
							<a href="" target="_blank">
								<img src="__CONTROL_TPL__/images/wsmall_201210301054071008.jpg" alt="图像占位"/>
							</a>
						</dt>
						<dd>
							<a href="" target="_blank">teelocker 纯棉色彩T恤7...</a>
							<p>￥<span>468.00</span></p>
						</dd>
					</dl>
				</li>
				<li>
					<dl class="ed_clear">
						<dt>
							<a href="" target="_blank">
								<img src="__CONTROL_TPL__/images/wsmall_201210301054071008.jpg" alt="图像占位"/>
							</a>
						</dt>
						<dd>
							<a href="" target="_blank">teelocker 纯棉色彩T恤7...</a>
							<p>￥<span>468.00</span></p>
						</dd>
					</dl>
				</li>
				<li>
					<dl class="ed_clear">
						<dt>
							<a href="" target="_blank">
								<img src="__CONTROL_TPL__/images/wsmall_201210301054071008.jpg" alt="图像占位"/>
							</a>
						</dt>
						<dd>
							<a href="" target="_blank">teelocker 纯棉色彩T恤7...</a>
							<p>￥<span>468.00</span></p>
						</dd>
					</dl>
				</li>
				<li>
					<dl class="ed_clear">
						<dt>
							<a href="" target="_blank">
								<img src="__CONTROL_TPL__/images/wsmall_201210301054071008.jpg" alt="图像占位"/>
							</a>
						</dt>
						<dd>
							<a href="" target="_blank">teelocker 纯棉色彩T恤7...</a>
							<p>￥<span>468.00</span></p>
						</dd>
					</dl>
				</li>
			</ul>
		</div> -->
	</div>
	<div class="conR fr">
		<div id="shoppingCart">
			<div class="joinCart">
				<ul class="joinInfo">
					<li class="joinInfoMsg weight">宝贝已成功加入到购物车!</li>
					<li class="joinInfoCount size14">
						购物车共有<span class="n_kind weight">{$hd.session.cart.total_rows}</span>件宝贝，合计<span class="n_kind_amount weight">{$hd.session.cart.total}</span>元
					</li>
					<li class="joinInfoPay">
						<a href="{|U:'Order/cart'}"><img src="__CONTROL_TPL__/images/pay_now.png" alt="立即付款" /></a>
					</li>
					<p class="closed">
						<img src="__CONTROL_TPL__/images/close.gif" alt="关闭" />
						<a href="javascript:" style="color:#8A8A8A;">关闭</a>
					</p>
				</ul>
			</div>
		</div>
		<div class="conRTop">
			<div class="clear"></div>
			<div class="conRTop_left">
				<div class='show_img'>
					<img class="imgUrl" src="__ROOT__/{$details.dthumb}"/>
					<div id='block'></div>
					<div id='move'></div>
				</div>
				<div class="zoom">
					<img src="__ROOT__/{$details.dbig_img}"/>
				</div>
			</div>
			<div class="conRTop_right fr">
				<h2>{$details.gname}</h2>
				<if value="{$details.gprice} gt {$details.gpmt_price}">
					<p class="rightCommon">
						<span class="priceText" style="letter-spacing:6px">价格：</span>
						<span class="priceNum fl colorju">￥<span class="priceNum normalPrice">{$details.gprice}</span></span>
					</p>
					<p class="rightCommon">
						<span class="priceText">促销价：</span>
						<span class="priceNum fl colorju pmtprice">￥<span class="priceNum pmtprice discountPrice">{$details.gpmt_price}</span></span>
					</p>
				<else/>
					<p class="rightCommon">
						<span class="priceText">价格：</span>
						<span class="priceNum fl colorju pmtprice">￥<span class="priceNum pmtprice normalPrice">{$details.gprice}</span></span>
					</p>
				</if>
				<p class="rightCommon">
					<span class="priceText" style="letter-spacing:6px">运费：</span>
					<span class="priceText" style="margin-left:10px;">全场免邮</span>
				</p>
				<p class="rightCommon">
					<span class="priceText" style="letter-spacing:6px">评价：</span>
					<span class="priceText" style="margin-left:10px;width:295px;">好评率{$radio}% | 已有{$comnum}条评价</span>
				</p>
				<div class="guige">
					<input type="hidden" />
					<dl class="guigeOne">
						<dt style="letter-spacing:6px">尺码：</dt>
						<dd>
							<ul class="size">
								<foreach from="$size" key="$key" value="$value">
									<li bcontent="{$key}"><em style="font-style:normal;">{$value}</em>
										<span style="display:none">
											<img src="__CONTROL_TPL__/images/duigou_new.gif"/>
										</span>
									</li>
								</foreach>
							</ul>
						</dd>
					</dl>
				</div>
				<div class="guige">
					<input type="hidden" />
					<dl class="guigeOne">
						<dt>颜色分类：</dt>
						<dd>
							<ul class="color">
								<foreach from="$color" key="$key" value="$value">
									<li bcontent="{$key}"><em style="font-style:normal;">{$value}</em>
										<span style="display:none">
											<img src="__CONTROL_TPL__/images/duigou_new.gif"/>
										</span>
									</li>
								</foreach>
							</ul>
						</dd>
					</dl>
				</div>
				<script type="text/javascript">

				</script>
				<div class="guige">
					<input type="hidden" />
					<dl class="guigeOne">
						<dt>购买数量：</dt>
						<dd style="margin-top:15px;">
							<span class="jianBtn"> <!-- 数量减按钮 -->
								<a href="javascript:">-</a>
							</span>
							<input type="text" id="quantity" value="1" class="numIpt"/>
							<span class="jiaBtn">	<!-- 数量加按钮 -->
								<a href="javascript:">+</a>
							</span>
							<span class="kucun" style="display:inline-block;">库存
								<span class="kucunNum" bid="">{$details.ginventory}</span>
								<span style="display:inline-block;">件</span>
							</span>
						</dd>
					</dl>
				</div>
				<div class="clear"></div>
				<div class="rightBtn">
					<a href="javascript:" class="size18 ct butBtn">加入购物车</a>
				</div>
			</div>
			<div class="clear"></div>
		</div>
		<div class="navSp">
			<ul>
				<li class="selected">
					<a href="javascript:">产品详情</a>
				</li>
				<li>
					<a href="javascript:">买家评价</a>
				</li>
				<if value="isset($hd.get.w) && isset($hd.session.uid) && isset($hd.session.username)">
					<li>
						<a href="javascript:">我来评价</a>
					</li>
				</if>
			</ul>
		</div>
		<div class="goodsArea" style="display:block">
			<div class="spxq"></div>
			<ul class="detPic ct"></ul>
			<!-- 商品介绍 -->
			<div class="default" style="padding-top:30px;">
				{$details.ddescription}
			</div>
		</div>
		<div class="goodsArea" style="display:none">
			<div class="spxq"></div>
			<ul class="detPic ct"></ul>
			<!-- 买家评价 -->
			<div class="default">
				<foreach from="{$comment}" value="$value">
					<div class="commentList">
						<div class="commentListFirst">
							<p>{$value.mcontent}</p>
							<if value="$value['mgorb']==1">
								<p style="color:#FF762D">好评 :）</p>
							<else/>
								<p style="color:#949493">差评 :（</p>
							</if>
						</div>
						<div class="commentListInfo">
							<span>[{$value.mtime|hd_date:'y-m-d H:i'}]</span>
							<span class="names">用户名：
							<if value="!empty($value['uname'])">{$value.uname}<else/>{$value.uaccount}</if></span>
						</div>
					</div>
				</foreach>
			</div>
		</div>
		<div class="goodsArea" style="display:none">
			<div class="spxq"></div>
			<ul class="detPic ct"></ul>
			<!-- 我来评价 -->
			<div class="default">
				<div class="commentList">
					<form method="post" action="{|U:'comment'}" id="commentForm">
						<textarea id="comment_content" name="mcontent" placeholder="请输入您对该商品的评价，限定255个字符" maxlength="255"></textarea>
						<p>
							<input type="radio" value="1" name="mgorb" checked="checked">好评
							<input type="radio" value="2" name="mgorb">差评
						</p>
						<input type="hidden" name="gid" value="{$hd.get.gid}"/>
						<input class="submit" type="submit" value="发表评价">
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<!-- 公用页脚开始 -->
<include file="__TPL__/Common/footer"/>
<!-- 公有页脚结束 -->
</body>
</html>